var runtime.trace

198 uses

	runtime (current package)
		debugcall.go#L162: 		if trace.enabled {
		debugcall.go#L221: 		if trace.enabled {
		debugcall.go#L230: 		if trace.enabled {
		mcentral.go#L85: 	if trace.enabled {
		mcentral.go#L158: 	if trace.enabled {
		mcentral.go#L171: 	if trace.enabled && !traceDone {
		mgc.go#L629: 	if trace.enabled {
		mgc.go#L658: 	if trace.enabled {
		mgc.go#L724: 		now = startTheWorldWithSema(trace.enabled)
		mgc.go#L843: 	if trace.enabled {
		mgc.go#L964: 	if trace.enabled {
		mgcmark.go#L462: 	if trace.enabled && !traced {
		mgcpacer.go#L892: 	if trace.enabled {
		mgcpacer.go#L910: 	if trace.enabled {
		mgcpacer.go#L936: 		if trace.enabled {
		mgcpacer.go#L1089: 	if trace.enabled {
		mgcpacer.go#L1196: 	if trace.enabled {
		mgcsweep.go#L489: 	if trace.enabled {
		mgcsweep.go#L626: 	if trace.enabled {
		mgcsweep.go#L802: 	if trace.enabled {
		mgcsweep.go#L823: 	if trace.enabled {
		mheap.go#L748: 	if trace.enabled {
		mheap.go#L796: 	if trace.enabled {
		mheap.go#L868: 	if trace.enabled {
		proc.go#L667: 	lockInit(&trace.bufLock, lockRankTraceBuf)
		proc.go#L668: 	lockInit(&trace.stringsLock, lockRankTraceStrings)
		proc.go#L669: 	lockInit(&trace.lock, lockRankTrace)
		proc.go#L671: 	lockInit(&trace.stackTab.lock, lockRankTraceStackTab)
		proc.go#L842: 	if trace.enabled {
		proc.go#L1194: 			if trace.enabled {
		proc.go#L1619: 			if trace.enabled {
		proc.go#L2511: 	if trace.enabled {
		proc.go#L2580: 			if trace.enabled {
		proc.go#L2627: 			if trace.enabled {
		proc.go#L2641: 		if trace.enabled {
		proc.go#L2729: 			if trace.enabled {
		proc.go#L2787: 				if trace.enabled {
		proc.go#L3051: 	if trace.enabled {
		proc.go#L3157: 	if trace.enabled || trace.shutdown {
		proc.go#L3317: 	if trace.enabled {
		proc.go#L3329: 			if trace.enabled {
		proc.go#L3356: 	if trace.enabled {
		proc.go#L3369: 	if trace.enabled {
		proc.go#L3376: 	if trace.enabled {
		proc.go#L3386: 	if trace.enabled {
		proc.go#L3431: 	if trace.enabled {
		proc.go#L3446: 	if trace.enabled {
		proc.go#L3611: 	if trace.enabled {
		proc.go#L3670: 		if trace.enabled {
		proc.go#L3726: 	if trace.enabled {
		proc.go#L3757: 		if trace.enabled {
		proc.go#L3789: 	if trace.enabled {
		proc.go#L3840: 			if ok && trace.enabled {
		proc.go#L3866: 		if trace.enabled {
		proc.go#L4143: 	if trace.enabled {
		proc.go#L4731: 	if trace.enabled {
		proc.go#L4797: 			if trace.enabled {
		proc.go#L4811: 		if trace.enabled {
		proc.go#L4872: 	if trace.enabled {
		proc.go#L4914: 	if trace.enabled {
		proc.go#L5257: 				if trace.enabled {
		trace.go#L110: var trace struct {
		trace.go#L200: 	lock(&trace.bufLock)
		trace.go#L202: 	if trace.enabled || trace.shutdown {
		trace.go#L203: 		unlock(&trace.bufLock)
		trace.go#L232: 			id := trace.stackTab.put([]uintptr{startPCforTrace(gp.startpc) + sys.PCQuantum})
		trace.go#L253: 	trace.ticksStart = cputicks()
		trace.go#L254: 	trace.timeStart = nanotime()
		trace.go#L255: 	trace.headerWritten = false
		trace.go#L256: 	trace.footerWritten = false
		trace.go#L261: 	trace.stringSeq = 0
		trace.go#L262: 	trace.strings = make(map[string]uint64)
		trace.go#L264: 	trace.seqGC = 0
		trace.go#L266: 	trace.enabled = true
		trace.go#L271: 		trace.markWorkerLabels[i], bufp = traceString(bufp, pid, label)
		trace.go#L275: 	unlock(&trace.bufLock)
		trace.go#L294: 	lock(&trace.bufLock)
		trace.go#L296: 	if !trace.enabled {
		trace.go#L297: 		unlock(&trace.bufLock)
		trace.go#L314: 	if trace.buf != 0 {
		trace.go#L315: 		buf := trace.buf
		trace.go#L316: 		trace.buf = 0
		trace.go#L323: 		trace.ticksEnd = cputicks()
		trace.go#L324: 		trace.timeEnd = nanotime()
		trace.go#L326: 		if trace.timeEnd != trace.timeStart {
		trace.go#L332: 	trace.enabled = false
		trace.go#L333: 	trace.shutdown = true
		trace.go#L334: 	unlock(&trace.bufLock)
		trace.go#L342: 	semacquire(&trace.shutdownSema)
		trace.go#L344: 		raceacquire(unsafe.Pointer(&trace.shutdownSema))
		trace.go#L348: 	lock(&trace.lock)
		trace.go#L354: 	if trace.buf != 0 {
		trace.go#L357: 	if trace.fullHead != 0 || trace.fullTail != 0 {
		trace.go#L360: 	if trace.reading != 0 || trace.reader != 0 {
		trace.go#L363: 	for trace.empty != 0 {
		trace.go#L364: 		buf := trace.empty
		trace.go#L365: 		trace.empty = buf.ptr().link
		trace.go#L368: 	trace.strings = nil
		trace.go#L369: 	trace.shutdown = false
		trace.go#L370: 	unlock(&trace.lock)
		trace.go#L385: 	lock(&trace.lock)
		trace.go#L386: 	trace.lockOwner = getg()
		trace.go#L388: 	if trace.reader != 0 {
		trace.go#L392: 		trace.lockOwner = nil
		trace.go#L393: 		unlock(&trace.lock)
		trace.go#L398: 	if buf := trace.reading; buf != 0 {
		trace.go#L399: 		buf.ptr().link = trace.empty
		trace.go#L400: 		trace.empty = buf
		trace.go#L401: 		trace.reading = 0
		trace.go#L404: 	if !trace.headerWritten {
		trace.go#L405: 		trace.headerWritten = true
		trace.go#L406: 		trace.lockOwner = nil
		trace.go#L407: 		unlock(&trace.lock)
		trace.go#L411: 	if trace.fullHead == 0 && !trace.shutdown {
		trace.go#L412: 		trace.reader.set(getg())
		trace.go#L413: 		goparkunlock(&trace.lock, waitReasonTraceReaderBlocked, traceEvGoBlock, 2)
		trace.go#L414: 		lock(&trace.lock)
		trace.go#L417: 	if trace.fullHead != 0 {
		trace.go#L419: 		trace.reading = buf
		trace.go#L420: 		trace.lockOwner = nil
		trace.go#L421: 		unlock(&trace.lock)
		trace.go#L425: 	if !trace.footerWritten {
		trace.go#L426: 		trace.footerWritten = true
		trace.go#L428: 		freq := float64(trace.ticksEnd-trace.ticksStart) * 1e9 / float64(trace.timeEnd-trace.timeStart) / traceTickDiv
		trace.go#L432: 		trace.lockOwner = nil
		trace.go#L433: 		unlock(&trace.lock)
		trace.go#L439: 		trace.stackTab.dump()
		trace.go#L443: 	if trace.shutdown {
		trace.go#L444: 		trace.lockOwner = nil
		trace.go#L445: 		unlock(&trace.lock)
		trace.go#L450: 			racerelease(unsafe.Pointer(&trace.shutdownSema))
		trace.go#L453: 		semrelease(&trace.shutdownSema)
		trace.go#L457: 	trace.lockOwner = nil
		trace.go#L458: 	unlock(&trace.lock)
		trace.go#L465: 	if trace.reader == 0 || (trace.fullHead == 0 && !trace.shutdown) {
		trace.go#L468: 	lock(&trace.lock)
		trace.go#L469: 	if trace.reader == 0 || (trace.fullHead == 0 && !trace.shutdown) {
		trace.go#L470: 		unlock(&trace.lock)
		trace.go#L473: 	gp := trace.reader.ptr()
		trace.go#L474: 	trace.reader.set(nil)
		trace.go#L475: 	unlock(&trace.lock)
		trace.go#L486: 	lock(&trace.lock)
		trace.go#L488: 	unlock(&trace.lock)
		trace.go#L494: 	if trace.fullHead == 0 {
		trace.go#L495: 		trace.fullHead = buf
		trace.go#L497: 		trace.fullTail.ptr().link = buf
		trace.go#L499: 	trace.fullTail = buf
		trace.go#L504: 	buf := trace.fullHead
		trace.go#L508: 	trace.fullHead = buf.ptr().link
		trace.go#L509: 	if trace.fullHead == 0 {
		trace.go#L510: 		trace.fullTail = 0
		trace.go#L534: 	if !trace.enabled && !mp.startingtrace {
		trace.go#L619: 	id := trace.stackTab.put(buf[:nstk])
		trace.go#L629: 	lock(&trace.bufLock)
		trace.go#L630: 	return mp, traceGlobProc, &trace.buf
		trace.go#L636: 		unlock(&trace.bufLock)
		trace.go#L643: 	owner := trace.lockOwner
		trace.go#L646: 		lock(&trace.lock)
		trace.go#L651: 	if trace.empty != 0 {
		trace.go#L652: 		buf = trace.empty
		trace.go#L653: 		trace.empty = buf.ptr().link
		trace.go#L675: 		unlock(&trace.lock)
		trace.go#L686: 	lock(&trace.stringsLock)
		trace.go#L690: 		raceacquire(unsafe.Pointer(&trace.stringsLock))
		trace.go#L693: 	if id, ok := trace.strings[s]; ok {
		trace.go#L695: 			racerelease(unsafe.Pointer(&trace.stringsLock))
		trace.go#L697: 		unlock(&trace.stringsLock)
		trace.go#L702: 	trace.stringSeq++
		trace.go#L703: 	id := trace.stringSeq
		trace.go#L704: 	trace.strings[s] = id
		trace.go#L707: 		racerelease(unsafe.Pointer(&trace.stringsLock))
		trace.go#L709: 	unlock(&trace.stringsLock)
		trace.go#L894: 	lock(&trace.lock)
		trace.go#L896: 	unlock(&trace.lock)
		trace.go#L1006: 	traceEvent(traceEvGCStart, 3, trace.seqGC)
		trace.go#L1007: 	trace.seqGC++
		trace.go#L1074: 	id := trace.stackTab.put([]uintptr{startPCforTrace(pc) + sys.PCQuantum})
		trace.go#L1083: 		traceEvent(traceEvGoStartLabel, -1, uint64(_g_.goid), _g_.traceseq, trace.markWorkerLabels[_p_.ptr().gcMarkWorkerMode])
		trace.go#L1131: 	if ts != 0 && ts < trace.ticksStart {
		trace.go#L1178: 	if !trace.enabled {
		trace.go#L1184: 	if !trace.enabled && !mp.startingtrace {
		trace.go#L1201: 	if !trace.enabled {
		trace.go#L1206: 	if !trace.enabled && !mp.startingtrace {
		trace.go#L1218: 	if !trace.enabled {
		trace.go#L1223: 	if !trace.enabled && !mp.startingtrace {